package org.amphiprion.rfreplayanalyser.ui.race;

import java.awt.Point;
import java.util.List;

import org.amphiprion.rfreplayanalyser.parser.Replay;

public interface RaceProvider {

	boolean isDriverItemSelected(DriverItem driverItem);

	void driverItemSelected(DriverItem driverItem, boolean centerView);

	String getDriverName(long driverId);

	void driverItemUpdated(DriverItem driverItem);

	Replay getReplay();

	List<DriverItem> getDriverItems();

	void updateScreenPositionSelectedCar(Point point);

	void updateScrollbarPositionToCenterAt(int x, int y);

}
